home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Web Designer 98 (Professional)
/
WebDesigner 1.0.iso
/
tutorials
/
tut5
/
ice_barebone.txt
< prev
next >
Wrap
Text File
|
1997-06-14
|
17KB
|
324 lines
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
H T M L ═ H N O T S K U R N
The Bare Bones Guide to HTML
by Kevin Werbach
<http://werbach.com/>
┌tgßfa 3.0 -- 21 j·lφ, 1996
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Frum·tgßfa ■essa skjals er ß: <http://werbach.com/barebones/>.
HTML ═ HNOTSKURN er listi me≡ HTML skipunum sem flestir vefsko≡arar skilja.
▐etta eru skipanir ß HTML 3.2 sta≡linum, auk ■ess Netscape aukaskipanir til og me≡
·tgßfu 3.0b5. ▐essi vefsφ≡a fer ekki φ smßatri≡i yfir notkun skipananna. En hentar vel sem
saman■jappa≡ uppslßttarverk.
H÷fundur hefur teki≡ saman lista yfir a≡rar HTML sφ≡ur:
<http://werbach.com/web/wwwhelp.html>
▐etta er listi ■²≡anda: <http://www.ifi.uio.no/~arsaellb/ishtml.html>
Ykkur er velkomi≡ a≡ senda h÷fundi athugasemdir: <barebones@werbach.com>.
E≡a ■²≡anda: <arsaellb@ifi.uio.no>
GER╨ ▐ESSARAR VEFS═╨U
---------------------------------------------------------------------------
Vefsφ≡an lφtur best ·t me≡ jafnr²mu≡u letri(monospaced).
Til gl÷ggvunar eru mismunandi stillingar(attributes) sem hµgt er a≡ nota
me≡ s÷mu skipun, a≡skildar. ▐a≡ er oftast nµr hµgt a≡ nota margar stillingar
samtφmis φ s÷mu skipun.
Skipanir eru skrifa≡ar me≡ st≤rum st÷fum ß ■essari vefsφ≡u til gl÷ggvunar,
en ■a≡ skiptir nµr aldrei mßli hvort skipanirnar eru skrifa≡ me≡ st≤rum e≡a litlum st÷fum φ HTML skjali.
T┴KN ┌TSK═R╨
---------------------------------------------------------------------------
URL URL af ytra skjali (e≡a bara nafni≡ ß skjalinu ef skjali≡ er φ s÷mu m÷ppu)
? N·mmer (t.d. <H?> tßknar <H1>, <H2>, <H3>, os.frv.)
% Pr≤sentutala (t.d. <HR WIDTH="%"> tßknar <HR WIDTH="50%">, os.frv.)
*** Texti (t.d. ALT="***" tßknar a≡ skrifa eigi einhvern texta)
$$$$$$ Hexadesimal n·mmer (t.d. BGCOLOR="#$$$$$$" tßknar BGCOLOR="#00FF1C", os.frv.)
,,, Brot (t.d. COORDS=",,," tßknar COORDS="0,0,50,50", os.frv.)
| Valkostir (t.d. ALIGN=LEFT|RIGHT|CENTER tßknar a≡ ■· eigir a≡ velja einn valkostinn)
SAMH╞FNI (hafa ver≡ur φ huga a≡ tßknmßli≡ HTML er st÷≡ugt φ ■r≤un, og einnig a≡ t·lkun mismunandi veflesara er ≤lik)
---------------------------------------------------------------------------
(engin athugasemd) skrifa≡ skv HTML 3.2 sta≡linum.; µtti a≡ skiljast af flestum vefslesurum
N1.0 Netscape aukaskipun, fyrst nota≡ φ Netscape ·tgßfu 1.0
N1.1 Netscape aukaskipun, fyrst nota≡ φ Netscape ·tgßfu 1.1
N2.0 Netscape aukaskipun, fyrst nota≡ φ Netscape ·tgßfu 2.0
N3.0B Netscape aukaskipun, fyrst nota≡ φ Netscape ·tgßfu 3.0 beta
===========================================================================
===========================================================================
GRUNNSKIPANIR
---------------------------------------------------------------------------
Ger≡ skjals <HTML></HTML> (byrjun og endir skjals)
Titill <TITLE></TITLE> (sett φ haus<head>)
Haus <HEAD></HEAD> (me≡ l²sandi oppl²singar s.s. titil)
A≡alhluti <BODY></BODY> (megni≡ af sφ≡unni kemur hΘr)
UPPBYGGINGARSKILGREINING (·tlit stj≤rna≡ af veflesaranum)
---------------------------------------------------------------------------
Fyrirs÷gn <H?></H?> (the spec. defines 6 levels)
Sta≡setning <H? ALIGN=LEFT|CENTER|RIGHT></H?>
Skipting <DIV></DIV>
Sta≡setning <DIV ALIGN=LEFT|RIGHT|CENTER|JUSTIFY></DIV>
Tilvitnun <BLOCKQUOTE></BLOCKQUOTE> (oftast aukagreinaskil)
┴hersluauki <EM></EM> (oftast skßletra≡)
Meiri ßhersluauki <STRONG></STRONG> (oftast feitletra≡)
Tilvitnun <CITE></CITE> (oftast skßletra≡)
Skipanalisti <CODE></CODE> (fyrir skipanalista)
S²nishornskipun <SAMP></SAMP>
Innslßttur frß lyklabor≡i <KBD></KBD>
Breyta <VAR></VAR>
Skilgreining <DFN></DFN> (ekki allir vefsko≡arar skilja ■essa skipun)
Netfang h÷fundar <ADDRESS></ADDRESS>
St≤rir b≤kstafir <BIG></BIG>
Litlir b≤kstafir <SMALL></SMALL>
┌TLITSSKILGREINING (texta·tlit stj≤rna≡ af h÷fundi)
---------------------------------------------------------------------------
Feitletrun <B></B>
Skßletrun <I></I>
N3.0b Undirstrikun <U></U> (ekki allir veflesarar skilja ■essa skipun)
Yfirstrikun <STRIKE></STRIKE> (ekki allir veflesarar skilja ■essa skipun)
N3.0b Yfirstrikun <S></S> (ekki allir veflesarar skilja ■essa skipun)
Undirsettur texti <SUB></SUB>
Yfirsettur texti <SUP></SUP>
VΘlritunarskrift <TT></TT> (dµmi um jafnst≤rt letur(monospace))
Forsni≡inn texti <PRE></PRE> (textinn kemur fram eins og hann er settur upp)
Leturbreidd <PRE WIDTH=?></PRE>
Mi≡justilling <CENTER></CENTER> (for bµ≡i texta og myndir)
N1.0 Blikkandi texti <BLINK></BLINK> (notist me≡ var·≡)
Leturstµr≡ <FONT SIZE=?></FONT> (frß 1-7)
Breyta leturstµr≡ <FONT SIZE="+|-?"></FONT>
N1.0 Grunnletur stµr≡ <BASEFONT SIZE=?> (frß 1-7; grunntala er 3)
Leturlitur <FONT COLOR="#$$$$$$"></FONT>
N3.0b Velja leturger≡ <FONT FACE="***"></FONT>
N3.0b Fleir-dßlkatexti <MULTICOL COLS=?></MULTICOL>
N3.0b Breidd ß milli dßlka <MULTICOL GUTTER=?></MULTICOL>
N3.0b Dßlkabreidd <MULTICOL WIDTH=?></MULTICOL>
N3.0b R²mi <SPACER>
N3.0b R²mi-ger≡ <SPACER TYPE=horizontal|vertical|block>
N3.0b R²mi-stµr≡ <SPACER SIZE=?>
N3.0b Hµ≡/breidd r²mis <SPACER WIDTH=? HEIGHT=?>
N3.0b R²mi-sta≡setning <SPACER ALIGN=left|right|center>
TENGINGAR OG MYNDIR
---------------------------------------------------------------------------
Tenging <A HREF="URL"></A>
Tengja vi≡ ßkve≡inn sta≡ <A HREF="URL#***"></A> (ef sta≡urinn er φ ÷≡ru skjali)
<A HREF="#***"></A> (ef sta≡urinn er φ sama skjali)
N2.0 Bent ß mark φ ramma <A HREF="URL" TARGET="***"></A>
Skilgreining ß marki <A NAME="***"></A>
Birta mynd <IMG SRC="URL">
Sta≡setning <IMG SRC="URL" ALIGN=TOP|BOTTOM|MIDDLE|LEFT|RIGHT>
N1.0 Sta≡setning <IMG SRC="URL" ALIGN=TEXTTOP|ABSMIDDLE|
BASELINE|ABSBOTTOM>
Texti φ sta≡ myndar <IMG SRC="URL" ALT="***"> (ef mynd kemur ekki fram)
Breidd og hµ≡ myndar <IMG SRC="URL" WIDTH=? HEIGHT=?> (φ pixlum)
Kantur myndar <IMG SRC="URL" BORDER=?> (φ pixlum)
R²mi umhverfis mynd <IMG SRC="URL" HSPACE=? VSPACE=?> (φ pixlum)
N1.0 Mynd me≡ minni upplausn innifalin <IMG SRC="URL" LOWSRC="URL">
Mynd me≡ vφsunum <IMG SRC="URL" ISMAP> (■arf map-forrit)
Mynd me≡ vφsunum <IMG SRC="URL" USEMAP="URL">
Kort <MAP NAME="***"></MAP> (l²sing ß kortinu)
Hluti <AREA SHAPE="RECT" COORDS=",,," HREF="URL"|NOHREF>
N1.1 Togun(Client Pull) <META HTTP-EQUIV="Refresh" CONTENT="?; URL=URL">
N2.0 Innsetning hlutar <EMBED SRC="URL"> (setja hlut ß sφ≡u, t.d. hlj≤≡)
N2.0 Stµr≡ hlutar <EMBED SRC="URL" WIDTH=? HEIGHT=?>
SKIL
---------------------------------------------------------------------------
Mßlsgrein <P></P> (</p> er oft ekki nau≡synlegt)
Sta≡setning <P ALIGN=LEFT|CENTER|RIGHT></P>
Greinaskil <BR>
R²mi vi≡ greinaskil <BR CLEAR=LEFT|RIGHT|ALL>
LßrΘtt lφna <HR>
Sta≡setning <HR ALIGN=LEFT|RIGHT|CENTER>
Hµ≡ <HR SIZE=?> (φ pixlum)
Breidd <HR WIDTH=?> (φ pixlum)
Breidd <HR WIDTH="%"> (pr≤senta af vefsφ≡u)
"M÷tt" lφna <HR NOSHADE> (ßn ■rφvφddar·tlits)
N1.0 Hindrun greinaskila <NOBR></NOBR>
N1.0 Or≡askil <WBR> (greinaskil ■ar sem ■÷rf er ß)
LISTAR
----------------------------------------------------------------------------
╙n·mera≡ur listi <UL><LI></UL> (<LI> er sett fyrir fram hvert atri≡i ß lista)
Saman■jappa≡ur listi <UL COMPACT></UL>
Ger≡ hnappa <UL TYPE=DISC|CIRCLE|SQUARE> (fyrir allan listann)
<LI TYPE=DISC|CIRCLE|SQUARE> (fyrir ■ennan lista og ßframhald)
N·mera≡ur listi <OL><LI></OL> (<LI> er sett ß undan hverju atri≡i ß lista)
Saman■jappa≡ur listi <OL COMPACT></OL>
Ger≡ n·mers <OL TYPE=A|a|I|i|1> (fyrir allan listann)
<LI TYPE=A|a|I|i|1> (fyrir ■ennan lista og ßframhald)
Byrjunarn·mer <OL START=?> (fyrir allan listann)
<LI VALUE=?> (fyrir ■ennan lista og ßframhald)
Skilgreiningarlisti <DL><DT><DD></DL> (<DT>=hugtak, <DD>=skilgreining)
Saman■jappa≡ur listi <DL COMPACT></DL>
╙n·mera≡ur listi <MENU><LI></MENU> (<LI> er sett ß undan hverju atri≡i ß lista)
Saman■jappa≡ur listi <MENU COMPACT></MENU>
╙n·mera≡ur listi <DIR><LI></DIR> (<LI> er sett fyrir framan hvert atri≡i ß lista)
Saman■jappa≡ur listi <DIR COMPACT></DIR>
BAKGRUNNAR OG LITUR
---------------------------------------------------------------------------
Bakgrunnslitur <BODY BACKGROUND="URL">
Bakgrunnslitur <BODY BGCOLOR="#$$$$$$"> (order is red/green/blue)
Texta litur <BODY TEXT="#$$$$$$">
Tengingalitur <BODY LINK="#$$$$$$">
Notu≡ tenging <BODY VLINK="#$$$$$$">
Virk tenging <BODY ALINK="#$$$$$$">
(Nßnari uppl. ß <http://werbach.com/web/wwwhelp.html#color>)
S╔RT┴KN (noti≡ litla b≤kstafi)
---------------------------------------------------------------------------
SΘrtßkn ?; (where ? is the ISO 8859-1 code)
< <
> >
& &
" "
Registered TM ®
Registered TM ®
Copyright ©
Copyright ©
Non-Breaking Spc
(Complete list at <http://www.uni-passau.de/%7Eramsch/iso8859-1.html>)
INNSL┴TTARFORM (■arf oftast nµr CGI-forrit til a≡ gera gagn)
---------------------------------------------------------------------------
Skilgreining <FORM ACTION="URL" METHOD=GET|POST></FORM>
N2.0 File Upload <FORM ENCTYPE="multipart/form-data></FORM>
Ger≡ innslßttar <INPUT TYPE="TEXT|PASSWORD|CHECKBOX|RADIO|
IMAGE|HIDDEN|SUBMIT|RESET">
Nafn innslßttar <INPUT NAME="***">
Gildi innslßttar <INPUT VALUE="***">
Valinn? <INPUT CHECKED> (reitur til a≡ merkja vi≡ valkost)
Stµr≡ reitar <INPUT SIZE=?> (fj÷ldi b≤kstafa)
Hßmarks lengd <INPUT MAXLENGTH=?> (fj÷ldi b≤kstafa)
Valkostalisti <SELECT></SELECT>
Nafn ß lista <SELECT NAME="***"></SELECT>
# of Options <SELECT SIZE=?></SELECT>
Fj÷lval <SELECT MULTIPLE> (hµgt a≡ velja meir enn einn valkost)
Valkostir <OPTION> (valkostir sem eru φ bo≡i)
Fyrirfram valinn valkostur <OPTION SELECTED>
Stµr≡ innslßttarreits <TEXTAREA ROWS=? COLS=?></TEXTAREA>
Nafn innslßttarreits <TEXTAREA NAME="***"></TEXTAREA>
N2.0 Saman■j÷ppun texta <TEXTAREA WRAP=OFF|VIRTUAL|PHYSICAL></TEXTAREA>
T╓FLUR
---------------------------------------------------------------------------
Skilgreining <TABLE></TABLE>
Rammi kringum t÷fluna <TABLE BORDER></TABLE> (af e≡a ß)
Rammi kringum t÷fluna <TABLE BORDER=?></TABLE> (gildi eftir breidd ramma)
R²md φ ramma t÷flunnar <TABLE CELLSPACING=?>
R²md ß milli ramma og innihalds <TABLE CELLPADDING=?>
T÷flubreidd <TABLE WIDTH=?> (φ pixlum)
T÷flubreidd <TABLE WIDTH=%> (φ pr≤sentum)
T÷flur÷≡ <TR></TR>
Sta≡setning <TR ALIGN=LEFT|RIGHT|CENTER
VALIGN=TOP|MIDDLE|BOTTOM>
Skilgreinir einstaka t÷flureit <TD></TD> (sett innan t÷flura≡ar)
Sta≡setning innihalds φ t÷flureit <TD ALIGN=LEFT|RIGHT|CENTER
VALIGN=TOP|MIDDLE|BOTTOM>
Hindrun greinaskila <TD NOWRAP>
Dßlkar a≡ spanna <TD COLSPAN=?>
Ra≡ir a≡ spanna <TD ROWSPAN=?>
N1.1 Breidd reitar <TD WIDTH=?> (φ pixlum)
N1.1 Breidd reitar <TD WIDTH="%"> (φ pr≤sentum)
N3.0b Cell Color <TD BGCOLOR="#$$$$$$">
T÷fluhaus <TH></TH>
Sta≡setning <TH ALIGN=LEFT|RIGHT|CENTER
VALIGN=TOP|MIDDLE|BOTTOM>
Hindrun greinaskila <TH NOWRAP>
Dßlkar a≡ spanna <TH COLSPAN=?>
Ra≡ir a≡ spanna <TH ROWSPAN=?>
N1.1 Breidd reitar <TH WIDTH=?> (φ pixlum)
N1.1 Breidd reitar <TH WIDTH="%"> (φ pr≤sentum)
N3.0b Bakgrunnslitur reitar <TH BGCOLOR="#$$$$$$">
Merking ß t÷flu <CAPTION></CAPTION>
Sta≡setning <CAPTION ALIGN=TOP|BOTTOM> (yfir/undir t÷flu)
RAMMAR (FRAMES)
---------------------------------------------------------------------------
N2.0 Skjal rammans <FRAMESET></FRAMESET> (φ sta≡ <BODY>)
N2.0 Hµ≡ ra≡a <FRAMESET ROWS=,,,></FRAMESET> (φ pixlum e≡a %)
N2.0 Hµ≡ ra≡a <FRAMESET ROWS=*></FRAMESET> (* = hlutfallsleg stµr≡)
N2.0 Breidd dßlka <FRAMESET COLS=,,,></FRAMESET> (φ pixlum e≡a %)
N2.0 Breidd dßlka <FRAMESET COLS=*></FRAMESET> (* = hlutfallsleg stµr≡)
N3.0b Kantar <FRAMESET FRAMEBORDER="yes|no">
N3.0b Breidd ja≡ars <FRAMESET BORDER=?>
N3.0b Litur ja≡ars <FRAMESET BORDERCOLOR="#$$$$$$">
N2.0 Skilgreina ramma <FRAME> (innihald einstaka ramma)
N2.0 S²ning ß skjali <FRAME SRC="URL">
N2.0 Nafn ramma <FRAME NAME="***"|_blank|_self|_parent|_top>
N2.0 Breidd ja≡ars <FRAME MARGINWIDTH=?> (hµgri og vinstri ja≡ar)
N2.0 Hµ≡ ja≡ars <FRAME MARGINHEIGHT=?> (efsti og ne≡sti ja≡ar)
N2.0 Flettikantur e≡a ekki? <FRAME SCROLLING="YES|NO|AUTO">
N2.0 ╙breytanleg stµr≡ <FRAME NORESIZE>
N3.0b Kantar <FRAME FRAMEBORDER="yes|no">
N3.0b Litur kants <FRAME BORDERCOLOR="#$$$$$$">
N2.0 Innihald utan ramma <NOFRAMES></NOFRAMES> (fyrir veflesara sem sty≡ja ekki ramma)
JAVA
---------------------------------------------------------------------------
Java-forrit(Applet) <APPLET></APPLET>
Nafn ß skjali javaforrits <APPLET CODE="***">
Parameters <APPLET PARAM NAME="***">
Sta≡setning java-forrits <APPLET CODEBASE="URL">
Einkenni java-forrits <APPLET NAME="***"> (svo hµgt sΘ a≡ kalla ß forriti≡)
Varatexti <APPLET ALT="***"> (fyrir veflesara sem sty≡ja ekki java)
Sta≡setning <APPLET ALIGN="LEFT|RIGHT|CENTER">
Stµr≡ <APPLET WIDTH=? HEIGHT=?> (φ pixlum)
R²mi <APPLET HSPACE=? VSPACE=?> (φ pixlum)
▌MISLEGT
---------------------------------------------------------------------------
Athugasemdir <!-- *** --> (kemur ekki fram φ veflesara)
HTML 3.2 fyrirs÷gn <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
Leit m÷guleg <ISINDEX> (gefur til kynna leitanlegt HTML-skjal)
A≡ger≡(prompt) <ISINDEX PROMPT="***"> (texti sem kynnir innslßtt)
Leitun send <A HREF="URL?***"></a> (nota≡u raunverulegt spurningamerki)
URL φ ■essu skjali <BASE HREF="URL"> (sta≡sett φ haus)
N2.0 Nafn ß grunnramma <BASE TARGET="***">(sta≡sett φ haus)
Samband <LINK REV="***" REL="***" HREF="URL"> (φ haus)
Vi≡b≤tarbreyta <META> (sta≡sett φ haus)
┌litsskjal <STYLE></STYLE> (ekki allir veflesarar skilja ■essa skipun)
Forrit <SCRIPT></SCRIPT> (ekki allir veflesarar skilja ■essa skipun)
===========================================================================
Copyright (c) 1995, 1996 Kevin Werbach. Noncommercial redistribution is
permitted. This Guide is not a product of Bare Bones Software. Contact the
author for more information.